import java.util.*;

class Student
{
	public String name;
	public String id;
	public String sex;
	public int midterm;
	public int finalterm;
	public int totalscore;
	public String birthdate;

	Student(String name, String id, String sex, String midterm, String finalterm, String birthdate)
	{
		this.name=name;
		this.id=id;
		this.sex=sex;
		this.midterm=Integer.parseInt(midterm);
		this.finalterm=Integer.parseInt(finalterm);
		this.birthdate=birthdate;
		this.totalscore=Integer.parseInt(midterm)+Integer.parseInt(finalterm);
	}

	public String getName()
	{
		return name;
	}

	public String getSex()
	{
		return sex;
	}

	public String getId()
	{
		return id;
	}

	public int getFinalterm()
	{
		return finalterm;
	}

	public int getMidterm()
	{
		return midterm;
	}

	public int getTotalscore()
	{
		return totalscore;
	}

	public String getBirthdate()
	{
		return birthdate;
	}



}
